﻿using System;
using System.Diagnostics;

namespace ComHlp.PerformanceToolz
{
    public class ItxStopwatch : Stopwatch
    {
        public ItxTraceType TraceType { get; }


        /// <exception cref="ArgumentException">Condition.</exception>
        public ItxStopwatch(ItxTraceType traceType)
        {
            if (traceType == ItxTraceType.Unknown)
                throw new ArgumentException(nameof(traceType));

            TraceType = traceType;
        }
    }
}
